
var mySwiper = new Swiper(".mySwiper", {
  direction: "horizontal", // 垂直切换选项
  loop: true, // 循环模式选项
  grabCursor : true,
  autoplay: {
    delay: 2000,
    disableOnInteraction: false,
  },
  
  // 如果需要分页器
  pagination: {
    el: ".swiper-pagination",
  },

  // 如果需要前进后退按钮
  navigation: {
    nextEl: ".swiper-next",
    prevEl: ".swiper-prev",
  },

});
